// NProgress.js
import NProgress from "nprogress";
import "nprogress/nprogress.css";

// 配置NProgress样式
NProgress.configure({
  showSpinner: false, // 不显示加载中的小圆圈
});

export const startProgress = () => {
  NProgress.start();
};

export const endProgress = () => {
  NProgress.done();
};
